const mongoose = require('mongoose')
const Schema = mongoose.Schema

const userSchema = new Schema({
    username: 'String',
    password: 'String',
    telephone: 'String',
    avatar: 'String',
    abstract: 'String',
    apartment: 'String',
    create_time: 'String',
    roles: 'Object'
})
mongoose.model('user',userSchema)
exports.User = mongoose.model('user')
